package LeetDev.a3d;

public class Color {
	public float r;
	public float g;
	public float b;
	public float a;

	public static final Color black=new Color(0,0,0,1);
	public static final Color white=new Color(1,1,1,1);
	public static final Color red=new Color(1,0,0,1);
	public static final Color green=new Color(0,1,0,1);
	public static final Color blue=new Color(0,0,1,1);
	public static final Color cyan=new Color(0,1,1,1);
	public static final Color yellow=new Color(1,1,0,1);
	public static final Color magenta=new Color(1,0,1,1);

	public Color()
	{
		r=g=b=0;
		a=1;
	}
	public Color(float ir,float ig,float ib,float ia)
	{
		r=ir;
		g=ig;
		b=ib;
		a=ia;
	}
	public Color(final Color c)
	{
		r=c.r;
		g=c.g;
		b=c.b;
		a=c.a;
	}

}
